package pers.xx.sbm.entity;


import java.util.Date;

/**
 * @author ：xiexing
 * @description：TODO
 * @date ：2020/7/19 15:40
 */
public class Person {
    private Integer id;

    private String name;

    private String address;

    private Integer age;

    private Date addDate;


    public Person() {
    }

    public Person(Integer id, String name, String address, Integer age, Date addDate) {
        this.id = id;
        this.name = name;
        this.address = address;
        this.age = age;
        this.addDate = addDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getAddDate() {
        return addDate;
    }

    public void setAddDate(Date addDate) {
        this.addDate = addDate;
    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", age=" + age +
                ", addDate=" + addDate +
                '}';
    }
}
